package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.entity.EmailSendTaskDO;
import com.cmc.cloud.cmclink.doc.vo.EmailSendTaskBaseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 邮件发送任务单 Convert
 *
 * @author 集运管理员
 */
@Mapper
public interface EmailSendTaskConvert {
    /**
     * 获取转换接口的实例
     */
    EmailSendTaskConvert INSTANCE = Mappers.getMapper(EmailSendTaskConvert.class);

	/**
     * 将创建请求VO转换为DO
     *
     * @param bean 创建请求VO
     * @return DO
     */
    EmailSendTaskDO convert(EmailSendTaskBaseVO bean);


}
